package pin.db.schema.base;
import pin.db.schema.*;
import java.util.Hashtable;
import java.sql.Timestamp;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Collection;
import java.sql.SQLException;
import java.util.Vector;
public class ImageBase{
	boolean[] modified=new boolean[4];
	public void resetModified(){
		for(boolean b:modified){
			b=false;
		}
	}
	private final Hashtable<String,Object> data=new Hashtable<String,Object>();
	public final void set(String columnNameDb, Object value){
		data.put(columnNameDb,value);
	}
	public final Object get(String columnNameDb){
		return data.get(columnNameDb);
	}
	public ImageBase(){}
	public ImageBase(java.lang.Long imageId,java.lang.Long height,java.lang.Long width,java.sql.Blob snapshot){
		setImageId(imageId);
		setHeight(height);
		setWidth(width);
		setSnapshot(snapshot);
	}
	public void setImageId(java.lang.Long imageId){
		if(imageId!=null) {
			set("imageId",imageId);
			this.modified[0] =true;
		}
	}
	public java.lang.Long getImageId(){
		return (java.lang.Long)get("imageId");
	}
	public void setHeight(java.lang.Long height){
		if(height!=null) {
			set("height",height);
			this.modified[1] =true;
		}
	}
	public java.lang.Long getHeight(){
		return (java.lang.Long)get("height");
	}
	public void setWidth(java.lang.Long width){
		if(width!=null) {
			set("width",width);
			this.modified[2] =true;
		}
	}
	public java.lang.Long getWidth(){
		return (java.lang.Long)get("width");
	}
	public void setSnapshot(java.sql.Blob snapshot){
		if(snapshot!=null) {
			set("snapshot",snapshot);
			this.modified[3] =true;
		}
	}
	public java.sql.Blob getSnapshot(){
		return (java.sql.Blob)get("snapshot");
	}
}
